//
//  YDPositionTableHeaderView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/9.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YDPositionTableHeaderView;

@protocol PZPositionTableHeaderViewDelegate <NSObject>

@optional

/**
 点击了headerview上面的按钮
 @param headerView  headerView
 @param buttonTag 索引
 */
-(void)positionTableHeaderView:(YDPositionTableHeaderView *)headerView didClickButtonTag:(NSInteger)buttonTag;


@end


@interface YDPositionTableHeaderView : UITableViewHeaderFooterView

+ (instancetype)headerViewWithTableView:(UITableView *)tableView;


@property (nonatomic , weak)id<PZPositionTableHeaderViewDelegate>delegate;

@end
